package com.ruoyi.client.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("用户详情返回数据")
public class UserVo {
    @ApiModelProperty(value = "用户id", position = 1)
    private Long id;

    @ApiModelProperty(value = "用户名", position = 2)
    private String username;

    @ApiModelProperty(value = "真实姓名", position = 3)
    private String name;

    @ApiModelProperty(value = "手机", position = 4)
    private String tel;

    @ApiModelProperty(value = "用户头像", position = 5)
    private String avatar;

    @ApiModelProperty(value = "角色(0-普通用户,1-管理员)", position = 6)
    private Integer role;

    @ApiModelProperty(value = "信用分", position = 7)
    private Long credit;
}